Skip to main content

bytes

Type

keyword

Summary

Used with the sort command, number function, and is among and is not among operators to designate each byte as a separate portion of a string.

Syntax

bytes

Description

Use the bytes keyword to sort or select individual bytes.

A byte is a single letter, digit, punctuation mark, or control character.

note

At present the bytes keyword is identical in functionality to the characters keyword. However, it should be used when strings containing binary data are being manipulated to ensure future efficiency.

Examples

get the number of bytes of field "Entry"
get the number of bytes of the compress of tString

glossary: command, operator, keyword

keyword: character, characters, byte, string

operator: is not among, is among

command: sort, select

control structure: function

function: number

Compatibility and Support

Introduced

LiveCode 4.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?